//
//  ViewLogs.m
//  iRMAP
//
//  Created by Ryan Enguero on 4/21/14.
//  Copyright (c) 2014 engueroryan. All rights reserved.
//

#import "ViewLogs.h"

@implementation ViewLogs


- (NSString*)logID{
    
    return _logIDStr;
}

- (NSString*)localTime{
    
    return _localTimeStr;
}

- (NSString*)voyagerDate{
    
    return _voyagerDateStr;
}

- (NSString*)voyagerTime{
    
    return _voyagerTimeStr;
}

- (NSString*)logDescription{
    
    return _logDescriptionStr;
}

- (NSString*)alarmText{
    
    return _alarmTextStr;
}


+ (instancetype)ViewLogID:(NSString*)logID andLocaltime:(NSString*)localTime andVoyagerDate:(NSString*)voyagerDate andVoyagerTime:(NSString*)voyagerTime andLogDescription:(NSString*)logDescription andAlarmText:(NSString*)alarmText{
    
    ViewLogs *log = [[self alloc] init];
    
    log.logIDStr = logID;
    log.localTimeStr = localTime;
    log.voyagerDateStr = voyagerDate;
    log.voyagerTimeStr = voyagerTime;
    log.logDescriptionStr = logDescription;
    log.alarmTextStr = alarmText;
    
    return log;
    
}



@end
